class Person {
  constructor(name, age) {
    this.name = name
    this.age = age
  }
}

class Star extends Person {
  /* constructor(name, age, salary) {
    super(name, age)
    this.salary = salary
  } */
  constructor(salary, ...args) {
    super(...args)
    this.salary = salary
  }
}

new Star(888, 'ifer', 18)
